package org.ssm.learn;

public class Run {
    public static void main(String[] args) {
        TaskBackup taskPackup = new TaskBackup();
        for (int i = 0; i < 20; i++) {
            ThreadBackupA threadBackupA = new ThreadBackupA(taskPackup);
            ThreadBackupB threadBackupB = new ThreadBackupB(taskPackup);
            threadBackupA.start();
            threadBackupB.start();
        }
    }
}